import{d as r,bs as n,bt as m,bu as c,a9 as p,bv as b,c as V,o as f,u as v,bw as g,w as x,g as C,t as d}from"./CtbHscGXagutd.js";import{a as w}from"./B15kfdAE31Z9ol.js";const M=r({__name:"app-input-country",props:n({id:{},modelValue:{},disabled:{type:Boolean}},{modelValue:{required:!0,default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const{locale:i}=m(),o=c(l,"modelValue"),u=p(()=>{const s=i.value,t=Object.entries(w).map(([e,a])=>({id:e,title:a[s],search:`${e} ${a[s]}`}));return t.sort((e,a)=>b(e.title,a.title)),t});return(s,t)=>(f(),V(v(g),{id:l.id,modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),items:u.value,disabled:l.disabled},{item:x(({item:e})=>[C(d(e.title)+" ["+d(e.id)+"] ",1)]),_:1},8,["id","modelValue","items","disabled"]))}});export{M as _};